import Vue from 'vue'
import App from './App.vue'
import { router } from './router'
import store from './store'
import ElementUI from 'element-ui'
//引入echarts
import * as echarts from 'echarts'
import '@/utils/config'
import '@/utils/permission'
import '@/assets/font/customfont.css'
import 'element-ui/lib/theme-chalk/index.css'
import './styles/iconfont/iconfont.css'
import plugins from './utils/plugins'
import VueClipboard from 'vue-clipboard2'
import VueCropper from 'vue-cropper'

Vue.use(plugins)
Vue.use(VueClipboard) //点击复制
Vue.use(ElementUI)
Vue.use(VueCropper) //图片裁剪
Vue.config.productionTip = false
//秘钥
Vue.prototype.md5Key = '23543zczxczdfsaqj23ou89ZXcj@#$@#$#@KJdjklj;D../dSF.,'

new Vue({
	router,
	store,
	render: (h) => h(App),
	beforeCreate() {
		Vue.prototype.$bus = this
	},
}).$mount('#app')